package com.musemun.service.impl;

import com.musemun.pojo.Er;
import com.musemun.mapper.ErMapper;
import com.musemun.pojo.Vo.NameRole;
import com.musemun.service.ErService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author winner
 * @since 2020-04-27
 */
@Service
public class ErServiceImpl extends ServiceImpl<ErMapper, Er> implements ErService {
    @Resource
    ErMapper erMapper;


    @Override
    public void deleteErByEnoAndRole(Integer id, String role) {
        erMapper.deleteErByEnoAndRole(id,role);
    }
}
